package com.example.commonlib.httplib.bean;

import java.io.Serializable;

/**
 * Author qijinfeng
 * Date: 2017/9/19
 * <p>
 * Desc:返回的token实体类
 */
public class TokenBean implements Serializable {
    /**
     * code : 0
     * message : OK
     * data : eyJhdXRoIjoiQXBwXFxFeHRlbnNpb25zXFxUaGluXFxBdXRoXFxBdXRoQXBpIiwidXNlciI6eyJ1c2VyaWQiOiIwIiwiY2hlY2tzdW0iOiI0YTY5MDk3YTc5NWIzZTg4NmUzMjJlNzJmZjY3MDRjYiJ9fQ.DBM3yrTl8wggFxUkp6RqMmet5Z_SAVgTO7LV0ICKusM
     * time : 1526363674
     */

    private int code;
    private String message;
    private String data;
    private int time;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "TokenBean{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data='" + data + '\'' +
                ", time=" + time +
                '}';
    }
}
